export enum CYLoadingState {
  noNetwork = 'noNetwork', // 无网络
  loading = 'loading', // 加载中
  complete = 'complete', // 加载完成
  empty = 'empty', // 数据空
  error = 'error', // 加载错误
  tokenEmpty = 'tokenEmpty', // 用户未登录
}

interface IEmptyImgUrls {
  car: string;
  address: string;
  comment: string;
  coupon: string;
  data: string;
  history: string;
  list: string;
  message: string;
  news: string;
  order: string;
  page: string;
  permission: string;
  search: string;
  wifi: string;
}

const baseUrl = 'https://saas-one.oss-cn-beijing.aliyuncs.com/img/empty/';

export const EmptyImgUrls: IEmptyImgUrls = {
  car: baseUrl + 'car.png',
  address: baseUrl + 'address.png',
  comment: baseUrl + 'comment.png',
  coupon: baseUrl + 'coupon.png',
  data: baseUrl + 'data.png',
  history: baseUrl + 'history.png',
  list: baseUrl + 'list.png',
  message: baseUrl + 'message.png',
  news: baseUrl + 'news.png',
  order: baseUrl + 'order.png',
  page: baseUrl + 'page.png',
  permission: baseUrl + 'permission.png',
  search: baseUrl + 'search.png',
  wifi: baseUrl + 'wifi.png',
};
